package com.blog.service;

import com.blog.bean.vo.PageAndUserVO;

import java.io.IOException;

/**
 * @author 任浩
 * @version 1.0
 */
public interface SearchService {

    /**
     * 对文档内容进行搜索。
     * @param content
     * @param page
     * @param pageNum
     * @param userId
     * @return
     */
    PageAndUserVO search(String content, Integer page, Integer pageNum, Integer userId) throws IOException;
}
